-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
TST: Fix skipped unit tests in test_ga. Install python-gflags using p… #11091
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Here is the output from my local test session:
|
@@ -142,7 +145,8 @@ def test_segment(self): | |||
end_date=end_date, | |||
segment=-2, | |||
dimensions=['date', 'hour'], | |||
parse_dates={'ts': ['date', 'hour']}) | |||
parse_dates={'ts': ['date', 'hour']}, | |||
index_col=0) | |||
|
|||
assert isinstance(df, DataFrame) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you fix these tests to use either:
self.assertIsInstance(....)
testing or
just compare vs an expected frame (e.g. assert_frame_equal
)
99d0468
to
7b929fa
Compare
7b929fa
to
c642f49
Compare
I've updated the tests as per the comments. The import error is gone in my latest commit. See job https://travis-ci.org/parthea/pandas/jobs/80171740 The new reason for skipped tests is
I've confirmed that the tests pass with valid credentials. |
TST: Fix skipped unit tests in test_ga. Install python-gflags using p…
thanks! |
closes #11090
This commit should resolve the following error in the travis build log.
Valid Google credentials are required to run the ga unit tests.